.class public Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;
.super Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;
.source "ImportFieldsRecyclerAdapter.java"

# interfaces
.implements Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder$OnItemClickedListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter$OnSelectionChangedListener;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter<",
        "Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;",
        ">;",
        "Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder$OnItemClickedListener;"
    }
.end annotation


# instance fields
.field protected context:Landroid/content/Context;

.field protected infoCache:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field protected onSelectionChangedListener:Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter$OnSelectionChangedListener;

.field protected polygonOptionsCache:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/Long;",
            "Lcom/google/android/gms/maps/model/PolygonOptions;",
            ">;"
        }
    .end annotation
.end field

.field protected selection:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/Long;",
            "Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 38
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;-><init>()V

    .line 30
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->polygonOptionsCache:Ljava/util/Map;

    .line 31
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->infoCache:Ljava/util/Map;

    .line 36
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    .line 39
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->infoCache:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    .line 40
    iput-object p1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->context:Landroid/content/Context;

    return-void
.end method

.method private getFormattedInfo(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Ljava/lang/String;
    .locals 2

    .line 99
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->infoCache:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 100
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    return-object v0

    :cond_0
    if-eqz v0, :cond_1

    .line 104
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->infoCache:Ljava/util/Map;

    invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    return-object v0
.end method

.method private getPolygonOptions(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Lcom/google/android/gms/maps/model/PolygonOptions;
    .locals 4

    .line 81
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->polygonOptionsCache:Ljava/util/Map;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/android/gms/maps/model/PolygonOptions;

    if-nez v0, :cond_0

    .line 84
    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getShapeModel()Llt/farmis/libraries/shape_import_android/models/ShapeModel;

    move-result-object v0

    invoke-virtual {v0}, Llt/farmis/libraries/shape_import_android/models/ShapeModel;->getCoordinates()Ljava/util/List;

    move-result-object v0

    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/Drawing;->getPolygonOptions(Ljava/util/List;)Lcom/google/android/gms/maps/model/PolygonOptions;

    move-result-object v0

    .line 85
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->polygonOptionsCache:Ljava/util/Map;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    return-object v0
.end method

.method private handleItemSelection(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Ljava/lang/Boolean;
    .locals 4

    const/4 v0, 0x0

    .line 121
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    .line 122
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 123
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 124
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 126
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    .line 127
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {v1, v2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 130
    :goto_0
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->onSelectionChangedListener:Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter$OnSelectionChangedListener;

    if-eqz v1, :cond_1

    .line 131
    invoke-interface {v1, p1, v0}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter$OnSelectionChangedListener;->onItemSelectionChanged(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;Ljava/lang/Boolean;)V

    :cond_1
    return-object v0
.end method


# virtual methods
.method protected getContentViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 2

    .line 71
    iget-object p2, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->context:Landroid/content/Context;

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0c0074

    const/4 v1, 0x0

    invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 72
    new-instance p2, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder;

    invoke-direct {p2, p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder;-><init>(Landroid/view/View;)V

    return-object p2
.end method

.method protected getContentViewType(I)I
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public getSelectedItems()Ljava/util/List;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;",
            ">;"
        }
    .end annotation

    .line 163
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 164
    iget-object v1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Long;

    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    .line 165
    iget-object v4, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {v4, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method public getSelectedItemsCount()I
    .locals 1

    .line 171
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->size()I

    move-result v0

    return v0
.end method

.method protected bridge synthetic isItemMatchesConstraint(Ljava/lang/Object;Ljava/lang/String;Ljava/util/Locale;)Z
    .locals 0

    .line 24
    check-cast p1, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;

    invoke-virtual {p0, p1, p2, p3}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->isItemMatchesConstraint(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;Ljava/lang/String;Ljava/util/Locale;)Z

    move-result p1

    return p1
.end method

.method protected isItemMatchesConstraint(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;Ljava/lang/String;Ljava/util/Locale;)Z
    .locals 3

    .line 54
    new-instance p3, Ljava/lang/StringBuilder;

    invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v0, " "

    invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v1

    invoke-virtual {p3, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    .line 55
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getShapeModel()Llt/farmis/libraries/shape_import_android/models/ShapeModel;

    move-result-object p3

    invoke-virtual {p3}, Llt/farmis/libraries/shape_import_android/models/ShapeModel;->getName()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    .line 56
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getShapeModel()Llt/farmis/libraries/shape_import_android/models/ShapeModel;

    move-result-object p3

    invoke-virtual {p3}, Llt/farmis/libraries/shape_import_android/models/ShapeModel;->getDescription()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    .line 57
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getShapeModel()Llt/farmis/libraries/shape_import_android/models/ShapeModel;

    move-result-object p3

    invoke-virtual {p3}, Llt/farmis/libraries/shape_import_android/models/ShapeModel;->getType()Llt/farmis/libraries/shape_import_android/ShapeImport$Shape;

    move-result-object p3

    invoke-virtual {p3}, Ljava/lang/Enum;->name()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    .line 58
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-direct {p0, p1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->getFormattedInfo(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 59
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p2}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result p1

    return p1
.end method

.method protected onBindContentViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 6

    .line 64
    iget-object v0, p0, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;->displayableObjects:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    move-object v1, p2

    check-cast v1, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;

    .line 65
    move-object v0, p1

    check-cast v0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder;

    invoke-direct {p0, v1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->getPolygonOptions(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Lcom/google/android/gms/maps/model/PolygonOptions;

    move-result-object v2

    invoke-direct {p0, v1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->getFormattedInfo(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Ljava/lang/String;

    move-result-object v3

    iget-object p1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    .line 66
    invoke-virtual {v1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p2

    invoke-interface {p1, p2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v5

    move-object v4, p0

    .line 65
    invoke-virtual/range {v0 .. v5}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder;->bindObject(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;Lcom/google/android/gms/maps/model/PolygonOptions;Ljava/lang/String;Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder$OnItemClickedListener;Z)V

    return-void
.end method

.method public onItemClicked(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder;Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)V
    .locals 0

    .line 112
    invoke-direct {p0, p2}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->handleItemSelection(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;)Ljava/lang/Boolean;

    move-result-object p2

    invoke-virtual {p1, p2}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsListItemHolder;->setChecked(Ljava/lang/Boolean;)V

    return-void
.end method

.method public selectAllItems()V
    .locals 5

    .line 175
    iget-object v0, p0, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;->itemsList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;

    .line 176
    iget-object v2, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-virtual {v1}, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;->getId()J

    move-result-wide v3

    invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    invoke-interface {v2, v3, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 178
    :cond_0
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method public selectNone()V
    .locals 1

    .line 183
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->selection:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    .line 184
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method public setItems(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldModel;",
            ">;)V"
        }
    .end annotation

    .line 46
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->infoCache:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    .line 47
    iget-object v0, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->polygonOptionsCache:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    .line 48
    invoke-super {p0, p1}, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;->setItems(Ljava/util/List;)V

    return-void
.end method

.method public setOnSelectionChangedListener(Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter$OnSelectionChangedListener;)V
    .locals 0

    .line 158
    iput-object p1, p0, Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter;->onSelectionChangedListener:Llt/noframe/gpsfarmguide/import_fields/imports/ImportFieldsRecyclerAdapter$OnSelectionChangedListener;

    return-void
.end method
